home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
hypertxt
/
msdos
/
hydos10
/
append
< prev
next >
Wrap
Text File
|
1991-04-23
|
3KB
|
60 lines
APPEND
Locate files other than .COM .EXE .BAT by a search path
See also <PATH>
Locates files outside of current directory that have extensions other
than .COM, .EXE, and .BAT.
COMMAND TYPE: Internal and External VERSION: 3.3 and up
USE:
(FIRST USE ONLY)
APPEND [/X][/E]
or (to specify directories explicitly)
APPEND d:path[;[d:]path ...]
(SUBSEQUENT USES)
APPEND d:path[;[d:]path ...]
or (to delete appended paths)
APPEND [;]
or (to modify action with certain commands - see below)
APPEND [path] [/X:[OFF|ON]] [/path:[OFF|ON]]
d:path specifies the path to search. Paths cannot be specified the
first time the APPEND command is loaded if either /X or /E are also
specified.
; to separate the APPEND paths or to request the list to be reset to
null if the semi-colon is the only parameter.
/E is used to keep the APPEND paths in the DOS environment, similar to
the <PATH> command. APPEND searches the environment on each call to
find the path. If the /E is not specified, the path string is held
within the APPEND command. The paths are not stored in the
environment and can only be viewed or changed by using the APPEND
command.
/X to process SEARCH FIRST, FIND FIRST, and EXEC functions. Commands
such as <COMP> and <DIR> use the SEARCH FIRST functions to search for
files. Commands such as <BACKUP>, <RESTORE>, and <TREE> use the FIND
FIRST function to locate files. DOS uses the EXEC function any
time a command is entered.
The following functions are processed by APPEND with or without /X:
OPEN FILE, OPEN HANDLE, GET FILE SIZE
NOTE: If APPEND has been loaded with /X, before using BACKUP or
RESTORE, APPEND must be issued using null (;).
MSDOS 4.x The extra parameters /x:off, /x:on are available to toggle
the setting of this function. Individual paths may be disabled or
enabled from APPEND processing with the /path:on, /path:off
parameters.
NOTE: /X and /E can only be specified on the first invocation of the
APPEND command. APPEND must be used before <ASSIGN> if you intend to
use the <ASSIGN> command.
The main use of APPEND is to allow applications to access auxiliary
files without needing run from the directory where those files are
stored. The command processor finds the application itself (.COM, .EXE
or .BAT) via the <PATH> command. The APPEND paths then allow the
application to locate other files (such as dictionary or configuration
files).